package com.example.websocket.pattern.creational.singleton;

public class HungerSingle {

    private static HungerSingle instance;

    private HungerSingle() {
    }

    public static HungerSingle getInstance(){
        if (instance == null) {
            instance = new HungerSingle();
        }
        return instance;
    }
}
